package me.zhengjie.sqlservice.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import me.zhengjie.mapper.WcsThreeFloorOutboundHistoryMapper;
import me.zhengjie.pojo.entity.WcsThreeFloorOutboundHistory;
import me.zhengjie.sqlservice.WcsThreeFloorOutboundHistoryService;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class WcsThreeFloorOutboundHistoryMapperImpl extends ServiceImpl<WcsThreeFloorOutboundHistoryMapper, WcsThreeFloorOutboundHistory> implements WcsThreeFloorOutboundHistoryService {
    private final WcsThreeFloorOutboundHistoryMapper wcsThreeFloorOutboundHistoryMapper;

    @Override
    public boolean insert(WcsThreeFloorOutboundHistory wcsThreeFloorOutboundHistory) {
        return wcsThreeFloorOutboundHistoryMapper.insert(wcsThreeFloorOutboundHistory) >0;
    }
}
